<div class="col-md-12 col-sm-12 col-xs-12">
    <div class="x_panel">
        <div class="x_title">
            <h2>{$pri_name}</h2>
            <ul class="nav navbar-right panel_toolbox">
                {:check_create('create')}
            </ul>
            <div class="clearfix"></div>
        </div>
        <div class="x_content">
            <p class="text-muted font-13 m-b-30">
                <code>说明:</code>{$code}
            </p>

            <table id="datatables" class="table table-striped table-bordered">
                <thead>
                <tr>
                    <th>
                        <input type="checkbox" onclick="CheckAll(this.checked)"></th>
                    </th>
                    <th>ID</th>
                    <th>登录名称</th>
                    <th>角色名称</th>
                    <th>权限选择</th>
                    <!--<th>管理员头像</th>-->
                    <th >排序</th>
                    <th >状态</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody>
                {volist name="data" id="vo"}
                <tr>
                    <th width="20">
                        <input type="checkbox" name="id[]" value="{$vo.id}"/>
                    </th>
                    <td width="15" align="center">{$vo.id}</td>
                    <td>{$vo.admin_name}</td>

                    <td>{$vo.role_name}</td>

                    <td>{$vo.list.titles}</td>
                    <!--<td>{volist name="($vo.multi_pic)" id="v1"}<img src="{($v1,'30','30')}" />{/volist}</td>-->
                    <td width="50">{$vo.sort}</td>
                    <td width="50" align="center">
                        <label>
                            <input type="checkbox" class="js-switch" {eq name="$vo.status" value="1"}checked{/eq} onclick="Check('{:url(\'check\',[\'id\' => $vo[\'id\'],\'check\' => \'status'])}')" />
                        </label>
                    </td>
                    <td width="130">
                        {:check_update('update',['id' => $vo.id])}
                        {:check_destory('destory',['id' => $vo.id])}
                    </td>

                </tr>
                {/volist}

                </tbody>
            </table>
            <div style="text-align: right;">{$data|raw}</div>
        </div>
    </div>
</div>
<!--<script>-->
<!--$("[name='title']").attr('required','required');-->
<!--$("[name='title']").attr('maxlength',6);-->
<!--</script>-->